package org.internna.expensetracker.model.qif;

public class Message {

	private boolean result = true;
	private final Register register;
	private String messageKey, configuration;

	public Message(Register register) {
		this.register = register;
	}

	public Message(Register register, String key) {
		this(register);
		this.messageKey = key;
	}

	public Message(Register register, String key, String configuration) {
		this(register, key);
		this.configuration = configuration;
	}

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getMessageKey() {
		return messageKey;
	}

	public void setMessageKey(String messageKey) {
		this.messageKey = messageKey;
	}

	public Register getRegister() {
		return register;
	}

	public String getConfiguration() {
		return configuration;
	}

	public void setConfiguration(String configuration) {
		this.configuration = configuration;
	}

}
